package com.park.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.park.model.Permissions;
import com.park.model.UserlistPermissions;

public interface UserlistPermissionsMapper {
    int insert(@Param("userlistPermissions")List<UserlistPermissions> userlistPermissions);

    int insertSelective(UserlistPermissions record);

	int update(UserlistPermissions userlistPermissions);

	int deleteRoles(@Param("userlistPermissions")List<UserlistPermissions> userlistPermissions);

	int deleteByUserId(@Param("userId")Long userlistId);

	List<Permissions> getRoleByUserId(@Param("userId")int userId);
}